<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><?php include template('member', 'header'); ?>
<div class="layui-member-center">
	<?php include template('member', 'left'); ?>
	<div class="layui-modify-memberinfo">
	<form method="post" action="" id="myform" class="layui-form" name="myform">
	<table class="layui-table">
		<tr>
			<th width="100"><?php echo L('nickname');?></th> 
			<td><input id="nickname" name="nickname" value="<?php echo $memberinfo['nickname'];?>" type="text" class="layui-input" style="width: 300px;"></td>
		</tr>
		<?php $n=1; if(is_array($forminfos)) foreach($forminfos AS $k => $v) { ?>
		<tr>
			<th width="100"><?php if($v['isbase']) { ?><font color=red>*</font><?php } ?> <?php echo $v['name'];?>：<?php if($v['tips']) { ?><br />(<?php echo $v['tips'];?>)<?php } ?></th> 
			<td><?php echo $v['form'];?></td>
		</tr>
		<?php $n++;}unset($n); ?>
		<tr>
			<th></th>
			<td><input name="dosubmit" type="submit" id="dosubmit" value="提交" class="layui-btn"></td>
		</tr>
	</table>
	</form>
	</div>
</div>
<?php include template('member', 'footer'); ?>